package br.com.j7.jdesk.persistence.repository;

import br.com.j7.jdesk.library.exception.RepositoryException;
import br.com.j7.jdesk.persistence.entity.ServicesStates;

/**
 * Interface {@link Repository} para a entidade {@link ServicesStates}
 * 
 * @author Edivando Alves
 *
 */
public interface ServiceStateRepository extends Repository<ServicesStates>{
	
	/**
	 * Obtem uma entidade {@link ServicesStates} pelo cdState
	 * @param cdState String
	 * @return {@link ServicesStates}
	 * @throws RepositoryException
	 */
	public ServicesStates findByState(String cdState) throws RepositoryException;

}
